package com.erlinyou.im.service.chat;


import java.util.List;

import com.erlinyou.base.service.BaseService;
import com.erlinyou.im.model.chat.ChatSessionKey;
import com.erlinyou.im.model.chat.ChatSession;

public interface IChatSessionService extends BaseService<ChatSession, ChatSessionKey> {
	public List<ChatSession> findByUserid(Long userid);
	public int deleteByUseridAndRidAndCtype(Long userid, Long rid,Integer ctype);
	public void updateChatSession(List<ChatSession> chatSession);
}
